home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shadez.swf / scripts / Local / Game / Thing / CThingDraw.as < prev    next >
Encoding:
Text File  |  2011-08-19  |  1.2 KB  |  59 lines

  1. package Local.Game.Thing
  2. {
  3.    import STC9.Bitmap.*;
  4.    import STC9.Sprite.*;
  5.    import flash.display.*;
  6.    import flash.events.*;
  7.    import flash.geom.*;
  8.    
  9.    public class CThingDraw extends CThingAudio
  10.    {
  11.        
  12.       
  13.       private var _Invisible:Boolean;
  14.       
  15.       public var mAnimationFrame:Number;
  16.       
  17.       public var mDrawn:Boolean;
  18.       
  19.       public var zDepth:int;
  20.       
  21.       public var mAnimationDirection:Number;
  22.       
  23.       public var mScale:Number;
  24.       
  25.       public var mAlpha:Number;
  26.       
  27.       public function CThingDraw()
  28.       {
  29.          super();
  30.       }
  31.       
  32.       public function Draw() : void
  33.       {
  34.          mDrawn = true;
  35.       }
  36.       
  37.       public function set mInvisible(param1:Boolean) : void
  38.       {
  39.          var _loc2_:* = undefined;
  40.          for each(_loc2_ in mChildren)
  41.          {
  42.             if(true)
  43.             {
  44.                _loc2_.mInvisible = param1;
  45.             }
  46.          }
  47.          if(true)
  48.          {
  49.             _Invisible = param1;
  50.          }
  51.       }
  52.       
  53.       public function get mInvisible() : Boolean
  54.       {
  55.          return _Invisible;
  56.       }
  57.    }
  58. }
  59.